import request from '@/api/request/index'
import type {
  PageDataChanPinLieBiao,
  KaiFaChaXunChanPin,
  ChanPinCaiGouShuJuChaXunJieGuo,
  ChaXunKaiFaCaiGouQingKuang
} from './_interfaces.ts'

/** 查询产品列表-开发 */
export function productManageDevQueryProductDev(data: KaiFaChaXunChanPin): Promise<PageDataChanPinLieBiao> {
  return request.post('/api/productManageDev/queryProductDev', data)
}

/** 查询采购情况列表-开发 */
export function productManageDevQueryProductPurchaseRecordDev(
  data: ChaXunKaiFaCaiGouQingKuang
): Promise<ChanPinCaiGouShuJuChaXunJieGuo> {
  return request.post('/api/productManageDev/queryProductPurchaseRecordDev', data)
}
